<template>
    <BackGround>
      <div class="_main">
        <div class="_main_name">—— {{$t("nav.lp")}} ——</div>
        <div class="_main_main">
          <div class="_m_m_title">
            <div class="_t_icon"></div>
            <div>USDT-KOS Leverage</div>
            <div class="_t_m">
              <div>Max APY</div>
              <div>16.26%</div>
            </div>
          </div>
          <div class="_m_m_line"></div>
          <div style="padding: 0 15px">
            <div class="_m_m_1">
              <div>USDT</div>
              <div>Bnlance:0.00</div>
            </div>
            <div class="_m_m_2">
              <input type="number" value="0">
              <div>MAX</div>
            </div>
            <div class="_m_m_1">
              <div>KOS</div>
              <div>Bnlance:0.00</div>
            </div>
            <div class="_m_m_2">
              <input type="number" value="0">
              <div>MAX</div>
            </div>
            <button class="union_join">Next</button>
            <div class="_main_3">Record</div>
          </div>
        </div>
      </div>
    </BackGround>
</template>

<script setup>
    import BackGround from "@components/BackGround/index.vue";
</script>

<style scoped lang="scss">
  .index {
    font-size: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  ._main  {
    padding: 30px 15px;
  }
  ._main_name {
    font-size: 18px;
    @include fontTCMedium;
    font-weight: 500;
    color: $color3;
    line-height: 25px;
  }
  ._main_main {
    width: 100%;
    height: 400px;
    background: #2F2E2E;
    border-radius: 8px;
    margin-top: 20px;
    padding-top: 12px;
  }
  ._m_m_title {
    display: flex;
    align-items: center;
    /*justify-content: flex-start;*/
    padding-left: 15px;
    div {
      font-size: 14px;
      @include fontSCMedium;
      font-weight: 500;
      color: #FFFFFF;
    }
    ._t_icon {
      height: 32px;
      width: 32px;
      background-color: red;
      margin-right: 15px;
    }
  }
  ._m_m_line {
    width: 100%;
    height: 1px;
    background-color: #969696;
    margin-top: 12px;
  }
  ._m_m_1 {
    @include flex;
    /*padding: 0 15px;*/
    margin-top: 20px;
    div {
      font-size: 14px;
      @include fontSCRegular;
      font-weight: 400;
      &:nth-child(1) {
        color: #fff;
      }
      &:nth-child(2) {
        color: #848484;
      }
    }
  }
  ._m_m_2 {
    padding: 0 10px 0 15px;
    width: 315px;
    height: 50px;
    background: #848181;
    border-radius: 4px;
    margin: 0 auto;
    @include flex;
    margin-top: 12px;
    div {
      width: 76px;
      height: 33px;
      background: #000001;
      border-radius: 4px;
      font-size: 14px;
      @include fontSCRegular;
      font-weight: 400;
      color: #FFFFFF;
      line-height: 33px;
    }
    input {
      background-color: transparent;
      border: none;
      font-size: 14px;
      @include fontSCRegular;
      font-weight: 400;
      color: #D3D3D3;
    }
  }
  .union_join {
    width: 100%;
    height: 44px;
    background: #d8bc84;
    border-radius: 5px;
    font-size: 17px;
    @include fontSCRegular;
    font-weight: 400;
    color: #fff;
    line-height: 44px;
    margin-top: 30px;
  }
  ._t_m {
    margin-left: 49px;
    div {
      color: #BF4028;
      &:nth-child(1) {
        font-size: 13px;
        @include fontSCRegular;
        color: #BF4028;
        line-height: 18px;
      }
      &:nth-child(2) {
        font-size: 17px;
        @include fontSCMedium;
        font-weight: 500;
        color: #BF4028;
        line-height: 24px;
      }
    }
  }
  ._main_3 {
    font-size: 14px;
    @include fontSCRegular;
    font-weight: 400;
    color: #848484;
    line-height: 20px;
    margin-top: 10px;
    text-decoration: underline;
  }
</style>
